package com.github.catvod.spider;

import android.text.TextUtils;
import com.github.catvod.crawler.Spider;
import com.github.catvod.parser.C0000;
import com.github.catvod.parser.C0001;
import com.github.catvod.parser.C0002;
import com.github.catvod.parser.C0003;
import com.github.catvod.parser.C0004;
import com.github.catvod.parser.C0005;
import com.github.catvod.parser.C0006;
import com.github.catvod.parser.C0007;
import com.github.catvod.parser.C0009;
import com.github.catvod.spider.merge.C0011;
import com.github.catvod.spider.merge.C0012;
import com.github.catvod.spider.merge.C0013;
import com.github.catvod.spider.merge.C0014;
import com.github.catvod.spider.merge.C0015;
import com.github.catvod.spider.merge.L;
import com.github.catvod.spider.merge.aF;
import com.github.catvod.spider.merge.fP;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
import okhttp3.Call;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

/* loaded from: classes.dex */
public class Hudie extends Spider {

    /* renamed from: short, reason: not valid java name */
    private static final short[] f21short = {901, 899, 917, 898, 989, 913, 919, 917, 926, 900, 1660, 1656, 1659, 1639, 1639, 1635, 1596, 1575, 1597, 1578, 1597, 1570, 1642, 1651, 1656, 1603, 1646, 1657, 1649, 1661, 1646, 1655, 1647, 1046, 1039, 1028, 1087, 1040, 1033, 1027, 2364, 2341, 2350, 2325, 2340, 2347, 2343, 2351, 1730, 1755, 1744, 1771, 1757, 1744, 2560, 2565, 2591, 2584, 1113, 1047, 1030, 1055, 1112, 1030, 1054, 1030, 1113, 1024, 1049, 1042, 1113, 1050, 1055, 1029, 1026, 1097, 1029, 1026, 1047, 1026, 1043, 1099, 2576, 2645, 2650, 2647, 2629, 2629, 2571, 2579, 2675, 2563, 2579, 2574, 2563, 2579, 2679, 2574, 2579, 2675, 2575, 2579, 2574, 2565, 2579, 2679, 2574, 2576, 2647, 2628, 2643, 2647, 2571, 2579, 2675, 2563, 2579, 2574, 2563, 2579, 2679, 2574, 2579, 2675, 2575, 2579, 2574, 2565, 2579, 2679, 2574, 2576, 2639, 2643, 2647, 2628, 2571, 2579, 2675, 2563, 2579, 2574, 2563, 2579, 2679, 2574, 2579, 2675, 2575, 2579, 2574, 2565, 2579, 2679, 2574, 2576, 2624, 2643, 2628, 2629, 2655, 2649, 2648, 2571, 2579, 2675, 2563, 2579, 2574, 2563, 2579, 2679, 2574, 2579, 2675, 2575, 2579, 2574, 2565, 2579, 2679, 2574, 2576, 2630, 2641, 2571, 768, 773, 784, 773, 2279, 2294, 2288, 2290, 2670, 2687, 2681, 2683, 2685, 2673, 2667, 2672, 2666, 2073, 2076, 2072, 2076, 2049, 1362, 1353, 1362, 1351, 1354, 1018, 1018, 1018, 1776, 1726, 1711, 1718, 1777, 1711, 1719, 1711, 1776, 1705, 1712, 1723, 1776, 1723, 1722, 1707, 1726, 1718, 1715, 1773, 1864, 1861, 1874, 2727, 2748, 2747, 2701, 2737, 2749, 2742, 2743, 2175, 2173, 2317, 2316, 2333, 2312, 2304, 2309, 906, 913, 917, 923, 912, 1013, 1004, 999, 988, 1011, 1007, 994, 1018, 988, 997, 1009, 1004, 1006, 1183, 1158, 1165, 1206, 1177, 1157, 1160, 1168, 1206, 1180, 1179, 1157, 1720, 1725, 1703, 1696, 650, 648, 650, 669, 648, 2962, 2975, 2966, 2947, 3001, 2952, 2951, 2955, 2947, 2158, 2080, 2097, 2088, 2159, 2097, 2089, 2097, 2158, 2103, 2094, 2085, 2158, 2101, 2104, 2097, 2084, 1827, 1830, 1852, 1851, 28787, 25130, 2059, 2054, 2063, 2074, 2080, 2070, 2075, 1365, 1370, 1367, 1349, 1349, 1693, 1682, 1687, 1679, 1694, 1673, 1672, 1584, 1577, 1570, 1561, 1588, 1571, 1579, 1575, 1588, 1581, 1589, 2571, 2578, 2585, 2594, 2573, 2580, 2590, 3147, 3154, 3161, 3170, 3155, 3164, 3152, 3160, 471, 462, 453, 510, 456, 453, 1805, 1800, 1810, 1813, 2889, 2823, 2838, 2831, 2888, 2838, 2830, 2838, 2889, 2832, 2825, 2818, 2889, 2826, 2831, 2829, 2819, 2873, 2826, 2831, 2837, 2834, 2905, 2838, 2817, 2907, 2903, 925, 1003, 1131, 1132, 1138, 2962, 3036, 3021, 3028, 2963, 3021, 3029, 3021, 2962, 3019, 3026, 3033, 2962, 3024, 3042, 3031, 3028, 3032, 3042, 3013, 3028, 3035, 3010, 3017, 3058, 3039, 3016, 3008, 3020, 3039, 3014, 3038, 2345, 2352, 2363, 2304, 2351, 2358, 2364, 1693, 1668, 1679, 1716, 1669, 1674, 1670, 1678, 2191, 2198, 2205, 2214, 2192, 2205, 3187, 3190, 3180, 3179, 540, 594, 579, 602, 541, 579, 603, 579, 540, 581, 604, 599, 540, 576, 598, 594, 577, 592, 603, 524, 600, 598, 586, 580, 604, 577, 599, 576, 526, 2327, 2369, 2390, 2316, 2304, 2327, 2373, 2376, 2369, 2388, 2316, 2304};
    private String h = "";
    JSONArray V0 = null;

    public Hudie() {
        int m38 = C0012.m38();
        int i = 1616;
        while (true) {
            i ^= 1633;
            switch (i) {
                case 14:
                case 49:
                    i = m38 >= 0 ? 1709 : 1678;
                case 204:
                    System.out.println(C0007.m25("3sbylpuFF"));
                    break;
                case 239:
                    break;
            }
            return;
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:21:0x003c, code lost:
    
        return r4;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    private java.util.HashMap<java.lang.String, java.lang.String> h() {
        /*
            r6 = this;
            r5 = 10
            r1 = 0
            java.lang.String r0 = "ۡۢۥ"
            r2 = r1
            r3 = r1
            r4 = r1
        L8:
            int r0 = com.github.catvod.parser.C0006.m20(r0)
            switch(r0) {
                case 56351: goto L3c;
                case 1747713: goto L1f;
                case 1747935: goto L14;
                case 1748708: goto L34;
                case 1750566: goto L2e;
                case 1751590: goto L24;
                default: goto Lf;
            }
        Lf:
            short[] r3 = com.github.catvod.spider.Hudie.f21short
            java.lang.String r0 = "ۤۢۤ"
            goto L8
        L14:
            r0 = 12
            r1 = 1555(0x613, float:2.179E-42)
            java.lang.String r1 = com.github.catvod.parser.C0003.m9(r3, r5, r0, r1)
            java.lang.String r0 = "ۣۣ۠"
            goto L8
        L1f:
            short[] r3 = com.github.catvod.spider.Hudie.f21short
            java.lang.String r0 = "۠ۨۧ"
            goto L8
        L24:
            r0 = 0
            r2 = 1008(0x3f0, float:1.413E-42)
            java.lang.String r2 = com.github.catvod.parser.C0007.m26(r3, r0, r5, r2)
            java.lang.String r0 = "۠ۡۢ"
            goto L8
        L2e:
            r4.put(r2, r1)
            java.lang.String r0 = "ۡ۠"
            goto L8
        L34:
            java.util.HashMap r4 = new java.util.HashMap
            r4.<init>()
            java.lang.String r0 = "ۨۡۤ"
            goto L8
        L3c:
            return r4
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Hudie.h():java.util.HashMap");
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x00a3. Please report as an issue. */
    public String categoryContent(String str, String str2, boolean z, HashMap<String, String> hashMap) {
        String m41 = C0013.m41(f21short, 22, 11, 1564);
        String m1 = C0000.m1(f21short, 33, 7, 1120);
        String m30 = C0009.m30(f21short, 40, 8, 2378);
        String m6 = C0002.m6(f21short, 48, 6, 1716);
        String m26 = C0007.m26(f21short, 54, 4, 2668);
        try {
            JSONObject jSONObject = new JSONObject();
            JSONArray jSONArray = new JSONObject(fP.oq(this.h + C0012.m37(f21short, 58, 24, 1142) + URLEncoder.encode(str) + C0001.m3(f21short, 82, 104, 2614) + str2, h())).getJSONObject(C0001.m3(f21short, 186, 4, 868)).getJSONArray(m26);
            JSONArray jSONArray2 = new JSONArray();
            int i = 0;
            while (true) {
                int length = jSONArray.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m6, jSONObject2.getString(m6));
                            jSONObject3.put(m30, jSONObject2.getString(m30));
                            jSONObject3.put(m1, jSONObject2.getString(m1));
                            jSONObject3.put(m41, jSONObject2.getString(m41));
                            jSONArray2.put(jSONObject3);
                            i++;
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = 1771;
                                        break;
                                    case 54:
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(C0002.m6(f21short, 190, 4, 2199), str2);
                    jSONObject.put(C0003.m9(f21short, 194, 9, 2590), 40);
                    jSONObject.put(C0011.m35(f21short, 203, 5, 2165), 18);
                    jSONObject.put(C0004.m12(f21short, 208, 5, 1318), 999);
                    jSONObject.put(m26, jSONArray2);
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }

    public String detailContent(List<String> list) {
        String m6 = C0002.m6(f21short, 213, 3, 990);
        try {
            Init.getPackage();
            JSONObject jSONObject = new JSONObject();
            JSONObject jSONObject2 = new JSONObject();
            String str = this.h + C0012.m37(f21short, 216, 20, 1759);
            HashMap hashMap = new HashMap();
            hashMap.put(C0011.m35(f21short, 236, 3, 1825), list.get(0));
            long currentTimeMillis = System.currentTimeMillis() / 1000;
            String V0 = aF.V0(UUID.randomUUID().toString().getBytes());
            hashMap.put(C0009.m30(f21short, 239, 8, 2770), V0);
            hashMap.put(C0011.m35(f21short, 247, 2, 2078), C0012.m37(f21short, 249, 6, 2409));
            hashMap.put(C0004.m12(f21short, 255, 5, 1022), "");
            System.out.println(V0);
            ArrayList arrayList = new ArrayList();
            ArrayList arrayList2 = new ArrayList();
            fP.BQ(fP.j(), str, hashMap, h(), new L.yh(this, jSONObject, arrayList, arrayList2) { // from class: com.github.catvod.spider.Hudie.1

                /* renamed from: short, reason: not valid java name */
                private static final short[] f22short = {1598, 1593, 1595, 1589, 1642, 1648, 24417, -29835, 730, 1689, 1672, 1691, 1690, 1676, 1755, 494, 503, 508, 455, 507, 503, 502, 492, 509, 502, 492, 578, 603, 592, 619, 592, 605, 582, 593, 599, 576, 603, 582, 1024, 1049, 1042, 1065, 1047, 1045, 1026, 1049, 1028, 2415, 2422, 2429, 2374, 2411, 2428, 2420, 2424, 2411, 2418, 2410, 1247, 1222, 1229, 1270, 1224, 1243, 1228, 1224, 2714, 2691, 2696, 2739, 2709, 2697, 2701, 2718, 319, 294, 301, 278, 313, 288, 298, 2980, 3005, 2998, 2957, 3004, 2995, 3007, 2999, 814, 823, 828, 775, 817, 828, 2171, 2151, 2154, 2162, 2158, 2169, 2132, 2146, 2149, 2157, 2148, 1682, 1687, 1666, 1687, 2226, 2239, 2230, 2211, 2201, 2216, 2215, 2219, 2211, 3015, 3038, 3029, 3054, 3026, 3037, 3024, 3010, 3010, 1330, 1323, 1312, 1307, 1332, 1320, 1317, 1341, 1307, 1320, 1325, 1335, 1328, 479, 452, 451, 475, 2550, 2530, 2559, 2557, 2464, 2514, 2519, 2924, 2818, 2835, 2816, 2817, 2839, 661, 658, 652, 659, 2088, 2087, 2091, 2083, 1593, 3070, 3065, 3047, 387};
                final Hudie I;
                final JSONObject V0;
                final ArrayList j;
                final ArrayList q;

                {
                    this.I = this;
                    this.V0 = jSONObject;
                    this.j = arrayList;
                    this.q = arrayList2;
                    int m39 = C0013.m39();
                    int i = 1616;
                    while (true) {
                        i ^= 1633;
                        switch (i) {
                            case 14:
                            case 49:
                                i = m39 >= 0 ? 1709 : 1678;
                            case 204:
                                System.out.println(Float.parseFloat(C0000.m2("seaVvx")));
                                break;
                            case 239:
                                break;
                        }
                        return;
                    }
                }

                /* JADX WARN: Code restructure failed: missing block: B:27:0x0045, code lost:
                
                    return;
                 */
                @Override // com.github.catvod.spider.merge.L
                /*
                    Code decompiled incorrectly, please refer to instructions dump.
                    To view partially-correct add '--show-bad-code' argument
                */
                public void onFailure(okhttp3.Call r7, java.lang.Exception r8) {
                    /*
                        r6 = this;
                        r0 = 0
                        java.lang.String r1 = "ۤۥۣ"
                        r2 = r0
                        r3 = r0
                        r4 = r1
                        r1 = r0
                    L7:
                        int r4 = com.github.catvod.parser.C0006.m20(r4)
                        switch(r4) {
                            case 56537: goto L2e;
                            case 56545: goto L14;
                            case 1750813: goto L22;
                            case 1751561: goto L1a;
                            case 1751682: goto L29;
                            case 1751780: goto L45;
                            case 1752704: goto L39;
                            case 1755584: goto L34;
                            default: goto Le;
                        }
                    Le:
                        r2.append(r8)
                        java.lang.String r4 = "ۣۨۢ"
                        goto L7
                    L14:
                        r2.append(r0)
                        java.lang.String r4 = "ۣ۠ۧ"
                        goto L7
                    L1a:
                        java.lang.StringBuilder r2 = new java.lang.StringBuilder
                        r2.<init>()
                        java.lang.String r4 = "ۨۧ۟"
                        goto L7
                    L22:
                        java.lang.String r0 = r2.toString()
                        java.lang.String r4 = "ۧ۠"
                        goto L7
                    L29:
                        java.io.PrintStream r3 = java.lang.System.out
                        java.lang.String r4 = "ۤۡۦ"
                        goto L7
                    L2e:
                        r3.println(r0)
                        java.lang.String r4 = "ۤۨۨ"
                        goto L7
                    L34:
                        short[] r1 = com.github.catvod.spider.Hudie.AnonymousClass1.f22short
                        java.lang.String r4 = "ۥۧۢ"
                        goto L7
                    L39:
                        r0 = 0
                        r4 = 8
                        r5 = 1616(0x650, float:2.264E-42)
                        java.lang.String r0 = com.github.catvod.parser.C0009.m30(r1, r0, r4, r5)
                        java.lang.String r4 = "ۧۨ"
                        goto L7
                    L45:
                        return
                    */
                    throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Hudie.AnonymousClass1.onFailure(okhttp3.Call, java.lang.Exception):void");
                }

                /* JADX WARN: Failed to find 'out' block for switch in B:37:0x01ca. Please report as an issue. */
                /* JADX WARN: Failed to find 'out' block for switch in B:64:0x029d. Please report as an issue. */
                @Override // com.github.catvod.spider.merge.L
                public String onResponse(String str2) {
                    JSONArray jSONArray;
                    int i;
                    String string;
                    String m3 = C0001.m3(f22short, 8, 1, 752);
                    String m56 = C0018.m56(f22short, 9, 6, 1769);
                    String m12 = C0004.m12(f22short, 15, 11, 408);
                    String m9 = C0003.m9(f22short, 26, 12, 564);
                    String m562 = C0018.m56(f22short, 38, 9, 1142);
                    String m52 = C0017.m52(f22short, 47, 11, 2329);
                    String m30 = C0009.m30(f22short, 58, 8, 1193);
                    String m302 = C0009.m30(f22short, 66, 8, 2796);
                    String m17 = C0005.m17(f22short, 74, 7, 329);
                    String m26 = C0007.m26(f22short, 81, 8, 3026);
                    String m262 = C0007.m26(f22short, 89, 6, 856);
                    String m41 = C0013.m41(f22short, 95, 11, 2059);
                    try {
                        JSONObject jSONObject3 = new JSONObject(str2).getJSONObject(C0005.m17(f22short, 106, 4, 1782));
                        this.V0.put(m262, jSONObject3.getString(m262));
                        this.V0.put(m26, jSONObject3.getString(m26));
                        this.V0.put(m17, jSONObject3.getString(m17));
                        this.V0.put(C0000.m1(f22short, 110, 9, 2246), jSONObject3.getString(C0018.m56(f22short, 119, 9, 2993)));
                        this.V0.put(m302, jSONObject3.getString(m302));
                        this.V0.put(m30, jSONObject3.getString(m30));
                        this.V0.put(m52, jSONObject3.getString(m52));
                        this.V0.put(m562, jSONObject3.getString(m562));
                        this.V0.put(m9, jSONObject3.getString(m9));
                        this.V0.put(m12, "" + jSONObject3.getString(m12));
                        jSONArray = jSONObject3.getJSONArray(C0015.m47(f22short, 128, 13, 1348));
                        i = 0;
                    } catch (JSONException e) {
                        int i2 = 50689;
                        while (true) {
                            i2 ^= 50706;
                            switch (i2) {
                                case 19:
                                    i2 = 50720;
                                    break;
                                case 50:
                                    break;
                            }
                        }
                    } catch (Exception e2) {
                        throw new RuntimeException(e2);
                    }
                    while (true) {
                        int i3 = i;
                        int length = jSONArray.length();
                        int i4 = 1616;
                        while (true) {
                            i4 ^= 1633;
                            switch (i4) {
                                case 14:
                                case 49:
                                    i4 = i3 < length ? 1709 : 1678;
                                case 204:
                                    JSONObject jSONObject4 = jSONArray.getJSONObject(i3);
                                    String string2 = jSONObject4.getJSONObject(m41).getString(C0015.m47(f22short, 141, 4, 428));
                                    String string3 = jSONObject4.getJSONObject(m41).getString(C0009.m30(f22short, 145, 4, 2448));
                                    boolean has = jSONObject4.getJSONObject(m41).has(m56);
                                    int i5 = 1740;
                                    while (true) {
                                        i5 ^= 1757;
                                        switch (i5) {
                                            case 17:
                                                i5 = has ? 1833 : 1802;
                                            case 54:
                                            case 471:
                                                string = jSONObject4.getJSONObject(m41).getJSONArray(C0003.m9(f22short, 153, 5, 2930)).getString(0);
                                                break;
                                            case 500:
                                                string = jSONObject4.getJSONObject(m41).getString(m56).replaceAll(C0001.m3(f22short, 149, 3, 2556), C0014.m43(f22short, 152, 1, 2882));
                                                int i6 = 1864;
                                                while (true) {
                                                    i6 ^= 1881;
                                                    switch (i6) {
                                                        case 17:
                                                            i6 = 48674;
                                                        case 47483:
                                                            break;
                                                    }
                                                    break;
                                                }
                                                break;
                                        }
                                    }
                                    ArrayList arrayList3 = new ArrayList();
                                    JSONArray jSONArray2 = jSONObject4.getJSONArray(C0012.m37(f22short, 158, 4, 736));
                                    int i7 = 0;
                                    while (true) {
                                        int length2 = jSONArray2.length();
                                        int i8 = 48767;
                                        while (true) {
                                            i8 ^= 48784;
                                            switch (i8) {
                                                case 14:
                                                case 45:
                                                    boolean isEmpty = arrayList3.isEmpty();
                                                    int i9 = 49666;
                                                    while (true) {
                                                        i9 ^= 49683;
                                                        switch (i9) {
                                                            case 17:
                                                                i9 = isEmpty ? 49759 : 49728;
                                                            case 50:
                                                            case 76:
                                                                int i10 = 49790;
                                                                while (true) {
                                                                    i10 ^= 49807;
                                                                    switch (i10) {
                                                                        case 18:
                                                                            break;
                                                                        case 241:
                                                                            i10 = 49821;
                                                                    }
                                                                    break;
                                                                }
                                                            case 83:
                                                                this.j.add(string2);
                                                                this.q.add(TextUtils.join(C0012.m37(f22short, 170, 1, 416), arrayList3));
                                                                break;
                                                        }
                                                    }
                                                    i = i3 + 1;
                                                    int i11 = 49914;
                                                    while (true) {
                                                        i11 ^= 49931;
                                                        switch (i11) {
                                                            case 497:
                                                                i11 = 50596;
                                                                break;
                                                            case 1711:
                                                                break;
                                                        }
                                                    }
                                                    break;
                                                case 76:
                                                    JSONObject jSONObject5 = jSONArray2.getJSONObject(i7);
                                                    arrayList3.add(jSONObject5.getString(C0007.m26(f22short, 162, 4, 2118)) + C0006.m18(f22short, 166, 1, 1565) + jSONObject5.getString(C0007.m26(f22short, 167, 3, 2955)) + m3 + string + m3 + string3);
                                                    int i12 = i7 + 1;
                                                    int i13 = 48891;
                                                    while (true) {
                                                        i13 ^= 48908;
                                                        switch (i13) {
                                                            case 22:
                                                                break;
                                                            case 503:
                                                                i13 = 48922;
                                                        }
                                                    }
                                                    i7 = i12;
                                                    break;
                                                case 239:
                                                    i8 = i7 < length2 ? 48860 : 48829;
                                            }
                                        }
                                    }
                                    break;
                                case 239:
                                    break;
                            }
                        }
                        return str2;
                    }
                }
            });
            String join = TextUtils.join(m6, arrayList);
            String join2 = TextUtils.join(m6, arrayList2);
            jSONObject.put(C0001.m3(f21short, 260, 13, 899), join);
            jSONObject.put(C0005.m17(f21short, 273, 12, 1257), join2);
            JSONArray jSONArray = new JSONArray();
            jSONArray.put(jSONObject);
            jSONObject2.put(C0013.m41(f21short, 285, 4, 1748), jSONArray);
            return jSONObject2.toString();
        } catch (Throwable th) {
            System.out.println(C0012.m37(f21short, 289, 5, 750) + th);
            return "";
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0059. Please report as an issue. */
    public String homeContent(boolean z) {
        String m37 = C0012.m37(f21short, 294, 9, 3046);
        try {
            JSONObject jSONObject = new JSONObject();
            String oq = fP.oq(this.h + C0007.m26(f21short, 303, 17, 2113), h());
            JSONArray jSONArray = new JSONArray();
            JSONArray jSONArray2 = new JSONObject(oq).getJSONArray(C0005.m17(f21short, 320, 4, 1871));
            int i = 0;
            while (true) {
                int length = jSONArray2.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray2.getJSONObject(i);
                            boolean contains = jSONObject2.getString(m37).contains(C0018.m56(f21short, 324, 2, 1671));
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = contains ? 1833 : 1802;
                                    case 54:
                                    case 471:
                                        JSONObject jSONObject3 = new JSONObject();
                                        jSONObject3.put(C0000.m1(f21short, 326, 7, 2175), jSONObject2.getString(m37));
                                        jSONObject3.put(m37, jSONObject2.getString(m37));
                                        jSONArray.put(jSONObject3);
                                        break;
                                    case 500:
                                        int i4 = 1864;
                                        while (true) {
                                            i4 ^= 1881;
                                            switch (i4) {
                                                case 17:
                                                    i4 = 48674;
                                                case 47483:
                                                    break;
                                            }
                                        }
                                        break;
                                }
                            }
                            i++;
                            int i5 = 48767;
                            while (true) {
                                i5 ^= 48784;
                                switch (i5) {
                                    case 14:
                                        break;
                                    case 239:
                                        i5 = 48798;
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(C0018.m56(f21short, 333, 5, 1334), jSONArray);
                    int i6 = 48891;
                    while (true) {
                        i6 ^= 48908;
                        switch (i6) {
                            case 22:
                                break;
                            case 53:
                                break;
                            case 503:
                                if (!z) {
                                    break;
                                } else {
                                    i6 = 49635;
                                }
                            case 32495:
                                jSONObject.put(C0004.m12(f21short, 338, 7, 1787), new JSONObject("{\"1\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"爱情\",\"v\":\"爱情\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"警匪\",\"v\":\"警匪\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动画\",\"v\":\"动画\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"武侠\",\"v\":\"武侠\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"枪战\",\"v\":\"枪战\"},{\"n\":\"恐怖\",\"v\":\"恐怖\"},{\"n\":\"悬疑\",\"v\":\"悬疑\"},{\"n\":\"惊悚\",\"v\":\"惊悚\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"青春\",\"v\":\"青春\"},{\"n\":\"文艺\",\"v\":\"文艺\"},{\"n\":\"微电影\",\"v\":\"微电影\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"农村\",\"v\":\"农村\"},{\"n\":\"儿童\",\"v\":\"儿童\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"中国大陆\",\"v\":\"大陆\"},{\"n\":\"中国香港\",\"v\":\"香港\"},{\"n\":\"中国台湾\",\"v\":\"台湾\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"法国\",\"v\":\"法国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"德国\",\"v\":\"德国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"印度\",\"v\":\"印度\"},{\"n\":\"意大利\",\"v\":\"意大利\"},{\"n\":\"西班牙\",\"v\":\"西班牙\"},{\"n\":\"加拿大\",\"v\":\"加拿大\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]}],\"2\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"古装\",\"v\":\"古装\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"青春偶像\",\"v\":\"青春偶像\"},{\"n\":\"喜剧\",\"v\":\"喜剧\"},{\"n\":\"家庭\",\"v\":\"家庭\"},{\"n\":\"犯罪\",\"v\":\"犯罪\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"奇幻\",\"v\":\"奇幻\"},{\"n\":\"剧情\",\"v\":\"剧情\"},{\"n\":\"历史\",\"v\":\"历史\"},{\"n\":\"经典\",\"v\":\"经典\"},{\"n\":\"乡村\",\"v\":\"乡村\"},{\"n\":\"情景\",\"v\":\"情景\"},{\"n\":\"商战\",\"v\":\"商战\"},{\"n\":\"网剧\",\"v\":\"网剧\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"中国大陆\",\"v\":\"大陆\"},{\"n\":\"中国台湾\",\"v\":\"中国台湾\"},{\"n\":\"中国香港\",\"v\":\"中国香港\"},{\"n\":\"韩国\",\"v\":\"韩国\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"美国\",\"v\":\"美国\"},{\"n\":\"泰国\",\"v\":\"泰国\"},{\"n\":\"英国\",\"v\":\"英国\"},{\"n\":\"新加坡\",\"v\":\"新加坡\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}]}],\"4\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"科幻\",\"v\":\"科幻\"},{\"n\":\"热血\",\"v\":\"热血\"},{\"n\":\"推理\",\"v\":\"推理\"},{\"n\":\"搞笑\",\"v\":\"搞笑\"},{\"n\":\"冒险\",\"v\":\"冒险\"},{\"n\":\"萝莉\",\"v\":\"萝莉\"},{\"n\":\"校园\",\"v\":\"校园\"},{\"n\":\"动作\",\"v\":\"动作\"},{\"n\":\"机战\",\"v\":\"机战\"},{\"n\":\"运动\",\"v\":\"运动\"},{\"n\":\"战争\",\"v\":\"战争\"},{\"n\":\"少年\",\"v\":\"少年\"},{\"n\":\"少女\",\"v\":\"少女\"},{\"n\":\"社会\",\"v\":\"社会\"},{\"n\":\"原创\",\"v\":\"原创\"},{\"n\":\"亲子\",\"v\":\"亲子\"},{\"n\":\"益智\",\"v\":\"益智\"},{\"n\":\"励志\",\"v\":\"励志\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"中国\",\"v\":\"内地\"},{\"n\":\"日本\",\"v\":\"日本\"},{\"n\":\"欧美\",\"v\":\"欧美\"},{\"n\":\"其他\",\"v\":\"其他\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"},{\"n\":\"2009\",\"v\":\"2009\"},{\"n\":\"2008\",\"v\":\"2008\"},{\"n\":\"2007\",\"v\":\"2007\"},{\"n\":\"2006\",\"v\":\"2006\"},{\"n\":\"2005\",\"v\":\"2005\"},{\"n\":\"2004\",\"v\":\"2004\"},{\"n\":\"2003\",\"v\":\"2003\"},{\"n\":\"2002\",\"v\":\"2002\"},{\"n\":\"2001\",\"v\":\"2001\"},{\"n\":\"2000\",\"v\":\"2000\"}],\"3\":[{\"key\":\"type\",\"name\":\"类型\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"选秀\",\"v\":\"选秀\"},{\"n\":\"情感\",\"v\":\"情感\"},{\"n\":\"访谈\",\"v\":\"访谈\"},{\"n\":\"播报\",\"v\":\"播报\"},{\"n\":\"旅游\",\"v\":\"旅游\"},{\"n\":\"音乐\",\"v\":\"音乐\"},{\"n\":\"美食\",\"v\":\"美食\"},{\"n\":\"纪实\",\"v\":\"纪实\"},{\"n\":\"曲艺\",\"v\":\"曲艺\"},{\"n\":\"生活\",\"v\":\"生活\"},{\"n\":\"游戏互动\",\"v\":\"游戏互动\"},{\"n\":\"财经\",\"v\":\"财经\"},{\"n\":\"求职\",\"v\":\"求职\"}]},{\"key\":\"area\",\"name\":\"地区\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"内地\",\"v\":\"内地\"},{\"n\":\"港台\",\"v\":\"港台\"},{\"n\":\"日韩\",\"v\":\"日韩\"},{\"n\":\"欧美\",\"v\":\"欧美\"}]},{\"key\":\"year\",\"name\":\"年份\",\"value\":[{\"n\":\"全部\",\"v\":\"\"},{\"n\":\"2022\",\"v\":\"2022\"},{\"n\":\"2021\",\"v\":\"2021\"},{\"n\":\"2020\",\"v\":\"2020\"},{\"n\":\"2019\",\"v\":\"2019\"},{\"n\":\"2018\",\"v\":\"2018\"},{\"n\":\"2017\",\"v\":\"2017\"},{\"n\":\"2016\",\"v\":\"2016\"},{\"n\":\"2015\",\"v\":\"2015\"},{\"n\":\"2014\",\"v\":\"2014\"},{\"n\":\"2013\",\"v\":\"2013\"},{\"n\":\"2012\",\"v\":\"2012\"},{\"n\":\"2011\",\"v\":\"2011\"},{\"n\":\"2010\",\"v\":\"2010\"}]}]}]}"));
                                break;
                            default:
                                continue;
                        }
                        i6 = 48953;
                    }
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            System.out.println(th);
            return "";
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0076. Please report as an issue. */
    public String homeVideoContent() {
        String m35 = C0011.m35(f21short, 345, 11, 1606);
        String m6 = C0002.m6(f21short, 356, 7, 2685);
        String m47 = C0015.m47(f21short, 363, 8, 3133);
        String m43 = C0014.m43(f21short, 371, 6, 417);
        String m18 = C0006.m18(f21short, 377, 4, 1889);
        try {
            String oq = fP.oq(this.h + C0013.m41(f21short, 381, 27, 2918), h());
            JSONArray jSONArray = new JSONArray();
            JSONArray jSONArray2 = new JSONObject(oq).getJSONArray(m18);
            int i = 0;
            while (true) {
                int length = jSONArray2.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject = jSONArray2.getJSONObject(i);
                            JSONObject jSONObject2 = new JSONObject();
                            jSONObject2.put(m43, jSONObject.getString(m43));
                            jSONObject2.put(m47, jSONObject.getString(m47));
                            jSONObject2.put(m6, jSONObject.getString(m6));
                            jSONObject2.put(m35, jSONObject.getString(m35));
                            jSONArray.put(jSONObject2);
                            int i3 = i + 1;
                            int i4 = 1740;
                            while (true) {
                                i4 ^= 1757;
                                switch (i4) {
                                    case 17:
                                        i4 = 1771;
                                        break;
                                    case 54:
                                        break;
                                }
                            }
                            i = i3;
                            break;
                        case 239:
                            break;
                    }
                    JSONObject jSONObject3 = new JSONObject();
                    jSONObject3.put(m18, jSONArray);
                    return jSONObject3.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }

    /* JADX WARN: Code restructure failed: missing block: B:18:0x002f, code lost:
    
        return;
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public void init(android.content.Context r4, java.lang.String r5) {
        /*
            r3 = this;
            r0 = 0
            java.lang.String r1 = "ۡۥ۟"
            r2 = r1
            r1 = r0
        L5:
            int r2 = com.github.catvod.parser.C0006.m20(r2)
            switch(r2) {
                case 1751531: goto L2f;
                case 1751717: goto L27;
                case 1751773: goto L17;
                case 1753639: goto L1f;
                case 1754408: goto L12;
                default: goto Lc;
            }
        Lc:
            super.init(r4, r5)
            java.lang.String r2 = "ۤۨۡ"
            goto L5
        L12:
            r3.h = r5
            java.lang.String r2 = "ۤ۠ۧ"
            goto L5
        L17:
            r1 = 1
            java.lang.String r1 = r5.substring(r1)
            java.lang.String r2 = "ۦۦۧ"
            goto L5
        L1f:
            r0 = 0
            byte[] r0 = android.util.Base64.decode(r1, r0)
            java.lang.String r2 = "ۤۦۧ"
            goto L5
        L27:
            java.lang.String r5 = new java.lang.String
            r5.<init>(r0)
            java.lang.String r2 = "ۧ۠ۡ"
            goto L5
        L2f:
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Hudie.init(android.content.Context, java.lang.String):void");
    }

    public String playerContent(String str, String str2, List<String> list) {
        try {
            String[] split = str2.split(C0002.m6(f21short, 408, 2, 961));
            String str3 = split[0];
            String str4 = split[1];
            String str5 = split[2];
            JSONObject jSONObject = new JSONObject();
            HashMap hashMap = new HashMap();
            hashMap.put(C0014.m43(f21short, 410, 3, 1054), URLEncoder.encode(str4) + str3);
            fP.BQ(fP.j(), this.h + C0012.m37(f21short, 413, 21, 3005), hashMap, h(), new L.yh(this, jSONObject) { // from class: com.github.catvod.spider.Hudie.2

                /* renamed from: short, reason: not valid java name */
                private static final short[] f23short = {2634, 2637, 2643, 2387, 2370, 2385, 2384, 2374};
                final JSONObject V0;
                final Hudie j;

                {
                    this.j = this;
                    this.V0 = jSONObject;
                    int m0 = C0000.m0();
                    int i = 1616;
                    while (true) {
                        i ^= 1633;
                        switch (i) {
                            case 14:
                            case 49:
                                i = m0 >= 0 ? 1709 : 1678;
                            case 204:
                                System.out.println(Double.parseDouble(C0013.m40("h7rHu2LG9j2AOe8hqKGGS98D66W")));
                                break;
                            case 239:
                                break;
                        }
                        return;
                    }
                }

                @Override // com.github.catvod.spider.merge.L
                public void onFailure(Call call, Exception exc) {
                }

                /* JADX WARN: Code restructure failed: missing block: B:8:0x0030, code lost:
                
                    return r8;
                 */
                @Override // com.github.catvod.spider.merge.L
                /*
                    Code decompiled incorrectly, please refer to instructions dump.
                    To view partially-correct add '--show-bad-code' argument
                */
                public java.lang.String onResponse(java.lang.String r8) {
                    /*
                        r7 = this;
                        r3 = 3
                        r2 = 0
                        short[] r0 = com.github.catvod.spider.Hudie.AnonymousClass2.f23short
                        r1 = 2623(0xa3f, float:3.676E-42)
                        java.lang.String r0 = com.github.catvod.parser.C0004.m12(r0, r2, r3, r1)
                        org.json.JSONObject r1 = new org.json.JSONObject     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        r1.<init>(r8)     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        java.lang.String r1 = r1.getString(r0)     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        org.json.JSONObject r2 = r7.V0     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        short[] r3 = com.github.catvod.spider.Hudie.AnonymousClass2.f23short     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        r4 = 3
                        r5 = 5
                        r6 = 2339(0x923, float:3.278E-42)
                        java.lang.String r3 = com.github.catvod.parser.C0008.m27(r3, r4, r5, r6)     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        r4 = 0
                        r2.put(r3, r4)     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        org.json.JSONObject r2 = r7.V0     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        r2.put(r0, r1)     // Catch: java.lang.Exception -> L34 org.json.JSONException -> L3b
                        r0 = 1616(0x650, float:2.264E-42)
                    L2a:
                        r0 = r0 ^ 1633(0x661, float:2.288E-42)
                        switch(r0) {
                            case 14: goto L30;
                            case 49: goto L31;
                            default: goto L2f;
                        }
                    L2f:
                        goto L2a
                    L30:
                        return r8
                    L31:
                        r0 = 1647(0x66f, float:2.308E-42)
                        goto L2a
                    L34:
                        r0 = move-exception
                        java.lang.RuntimeException r1 = new java.lang.RuntimeException
                        r1.<init>(r0)
                        throw r1
                    L3b:
                        r0 = move-exception
                        r0 = 1740(0x6cc, float:2.438E-42)
                    L3e:
                        r0 = r0 ^ 1757(0x6dd, float:2.462E-42)
                        switch(r0) {
                            case 17: goto L44;
                            case 54: goto L30;
                            default: goto L43;
                        }
                    L43:
                        goto L3e
                    L44:
                        r0 = 1771(0x6eb, float:2.482E-42)
                        goto L3e
                    */
                    throw new UnsupportedOperationException("Method not decompiled: com.github.catvod.spider.Hudie.AnonymousClass2.onResponse(java.lang.String):java.lang.String");
                }
            });
            return jSONObject.toString();
        } catch (Throwable th) {
            System.out.println(th);
            return "";
        }
    }

    /* JADX WARN: Failed to find 'out' block for switch in B:6:0x0091. Please report as an issue. */
    public String searchContent(String str, boolean z) {
        String m37 = C0012.m37(f21short, 434, 11, 2989);
        String m43 = C0014.m43(f21short, 445, 7, 2399);
        String m35 = C0011.m35(f21short, 452, 8, 1771);
        String m56 = C0018.m56(f21short, 460, 6, 2297);
        String m9 = C0003.m9(f21short, 466, 4, 3103);
        try {
            JSONObject jSONObject = new JSONObject();
            JSONArray jSONArray = new JSONObject(fP.oq(this.h + C0003.m9(f21short, 470, 29, 563) + URLEncoder.encode(str) + C0013.m41(f21short, 499, 12, 2353), h())).getJSONArray(m9);
            JSONArray jSONArray2 = new JSONArray();
            int i = 0;
            while (true) {
                int length = jSONArray.length();
                int i2 = 1616;
                while (true) {
                    i2 ^= 1633;
                    switch (i2) {
                        case 14:
                        case 49:
                            i2 = i < length ? 1709 : 1678;
                        case 204:
                            JSONObject jSONObject2 = jSONArray.getJSONObject(i);
                            JSONObject jSONObject3 = new JSONObject();
                            jSONObject3.put(m56, jSONObject2.getString(m56));
                            jSONObject3.put(m35, jSONObject2.getString(m35).trim());
                            jSONObject3.put(m43, jSONObject2.getString(m43));
                            jSONObject3.put(m37, jSONObject2.getString(m37));
                            jSONArray2.put(jSONObject3);
                            i++;
                            int i3 = 1740;
                            while (true) {
                                i3 ^= 1757;
                                switch (i3) {
                                    case 17:
                                        i3 = 1771;
                                        break;
                                    case 54:
                                        break;
                                }
                            }
                            break;
                        case 239:
                            break;
                    }
                    jSONObject.put(m9, jSONArray2);
                    return jSONObject.toString();
                }
            }
        } catch (Throwable th) {
            return "";
        }
    }
}
